package com.yonyou.pmclouds.milestone.service;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.milestone.entity.MilestoneVO;

import java.util.List;

public interface IMilestoneMaintain {

    /**
     * 保存
     *
     * @param vos
     * @param deleteList
     * @return
     * @throws BusinessException
     */
    MilestoneVO[] save(MilestoneVO[] vos, List<String> deleteList) throws BusinessException;

    /**
     * 删除
     *
     * @param pk
     * @return
     * @throws BusinessException
     */
    MilestoneVO delete(String pk) throws BusinessException;

    /**
     * 更新启用状态
     *
     * @param vo
     * @return
     * @throws BusinessException
     */
    MilestoneVO updateEnableStatus(MilestoneVO vo) throws BusinessException;
}
